package com.zdya.combatdocuments.component;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * * @author: bj
 * * @date: 2023/6/2
 * * @desc:
 */
@Data
@Component
@ConfigurationProperties(prefix = "combatdocuments")
public class CombatDocumentConfig {
    /** 项目名称 */
    private String name;

    /** 版本 */
    private String version;

    /** 版权年份 */
    private String copyrightYear;

    /** 上传路径 */
    private static String profile;

    public static String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        CombatDocumentConfig.profile = profile;
    }
}
